   <h2> Upload a Video </h2>

    <?php
    echo $this->Form->create('UsersVideo', array('type' => 'file'));
    ?>
    <div>
        <fieldset>
            <legend> Select the file </legend>
        <?php
        echo $this->Form->input('UsersVideo.file', array(
            'type' => 'file'
        ));

        echo $this->Form->input('UsersVideo.title', array(
            'label' => 'Name this Video'
        ));

        echo $this->Form->input('UsersVideo.sports_id', array(
            'label' => 'Sport'
        ));

    echo $this->Form->end('Add');
    ?>

            
            
<?php
    phpinfo();
?>